<?php
/**
 * Date: 2017/11/23
 * Time: 13:49
 * Author: zeronlee
 */
//日志管理
Route::group(['namespace'=>'Announce'],function(){
    Route::any('announcelist','AnnounceController@index')->name('admin.announce.index')->middleware('access.routeNeedsPermission:announce-index');; //公告列表
    Route::any('newlist','AnnounceController@newAnnounce')->name('admin.announce.new')->middleware('access.routeNeedsPermission:announce-new');;//新增公告
    Route::any('publish','AnnounceController@publish')->name('admin.announce.publish')->middleware('access.routeNeedsPermission:announce-publish');;//发布公告
    Route::any('modify','AnnounceController@modify')->name('admin.announce.modify')->middleware('access.routeNeedsPermission:announce-modify');;//修改公告
    Route::any('del','AnnounceController@del')->name('admin.announce.del')->middleware('access.routeNeedsPermission:announce-move');;//删除公告
    Route::any('det/{id?}','AnnounceController@det')->name('admin.announce.det')->middleware('access.routeNeedsPermission:announce-det');;//公告详情
});